@charset "utf-8";
*{
  padding: 0;
  margin: 0;
}
ul,li{
  list-style: none;
}
input{
  outline: none;
}
@mixin xl {
  position: absolute;
  top: 40px;
  z-index: 1000;
  background-color: #fff;
  text-align: center;
  padding-bottom: 5px;
  height: 0px;
  overflow: hidden;  
}
@mixin hua {
  background-image: url(../public/img/login/common_z.png);
  background-repeat: no-repeat;
  display: inline-block;
  vertical-align: middle;
}
@mixin as {
  text-decoration: none;
  color: inherit;
  &:hover{color:rgb(245, 124, 77);}
}
@mixin ico {
  display: inline-block;
  width: 34px;
  height: 34px;
  background-image: url(../public/img/login/pc_icon.png);
  background-repeat: no-repeat;
}
/*定宽居中*/
.center{
  width: 1200px;
  margin: auto;
}
/*页头*/
.head{
  background-color: #f2f2f2;
  .center{
    display: flex;
    justify-content: space-between;
    span.hua{
      @include hua;
      width: 24px;
      height: 24px;
      margin-right: 2px;
    }
    ul{
      margin: 0;
      li{
        float: left;
        margin-right: 50px;
        line-height: 40px;
        font-size: 12px;
        color: #6c757d;
        &:nth-child(2){
          display: block;
          position: relative;
          &:hover .xlwx {
           height: 180px;
          }
        }
        @mixin tp {
          margin: 15px 15px 5px 15px;
            width: 120px;
            height: 120px;
        }
        .xlwx{
         @include xl;
         img{
           @include tp;
         }
         p{
          padding: 0;
          margin: 0;
          line-height: 20px;
          font-size: 12px;
          color: #232628;
         }
       }
        &:last-child{
          display: block;
          position: relative;
          &:hover .xlap{
            height: 160px;
          }       
        }
        .xlap{
          @include xl;
          img{
           @include tp;
          }
          p{
            line-height: 20px;
            font-size: 12px;
            color: #232628;
            margin-top:-5px;
          }
        }
        a{
          @include as;
          .hua-sc{
            margin-top: -2px;
            background-position: 0 -318px;
          }
          .hua-weixin{
            margin-top: -1px;
            background-position: -374px -131px
          }
          .hua-app{
            margin-top: -1px;
            background-position: -294px -171px
          }
        }

      }

    }
    ol{
      padding:0;
      margin: 0;
      background-color: #f2f2f2;
      .hua-car{
        margin-top: -2px;
       background-position: -340px  -284px;
      }
      li{
        line-height: 40px;
        font-size: 12px;
        color: #6c757d;
        a{
          @include as;
        }
        &+.breadcrumb-item::before{
          display: inline-block;
          padding-right: 0.5rem;
          padding-left: 0.5rem;
          color: #6c757d;
          content: "|";
        }
        &:first-child{
          a+a{
            margin-left: 10px;
          }
        }
        &:nth-child(4){
          position: relative;
          &:hover{
            background-color: #f3f5f7;
            .xlcd{
              height: 105px;
            }
          }
         .xlcd{
          position: absolute;
          top: 40px;
          right: -8px;
          z-index: 999;
          background-color: #f3f5f7;
          height: 0px;
          overflow: hidden;
          transition-duration: 0.5s;
          a{
            display: block;
            width: 81px;
            line-height: 20px;
            text-align: center;
            font-size: 12px;
            color: #6c757d;
            @include as;
          }
         }
        }
        &:nth-child(5){
          position: relative;
          &:hover .shopcar{
            height: 120px;
            border: 1px solid #e9e9e9;
          }
          .text-primary{
            color: #ff6a00 !important;
          }
          .shopcar{
            position: absolute;
            top: 40px;
            right: 0px;
            width: 300px;
            height: 0;
            background-color: #fff;
            z-index: 999;
            text-align: center ;
            overflow:hidden ; 
            div{
              line-height: 120px;
              span{
                text-decoration: none;
              }
            }
          }
        }
      }
    }
  }
}
/*导航*/
.navigation{
  .center{
  height: 90px;
  padding-top: 30px;
  margin-bottom: 30px;
  display: flex;
  justify-content:space-between;
  .logo-bj{
    display: inline-block;
    width: 238px;
    height: 60px;
    background-image: url(../public/img/shoye/common_sprite.png);
    background-repeat: no-repeat;
    background-position: 0 -248px;
  }
  .sosuo{
    position: relative;
    width: 400px;
    height: 48px; 
    input{
      width: 400px;
      height: 48px;
      border: 2px solid #FF734C;
      box-sizing: border-box;
      font-size: 14px;
      background-color: inherit;
      padding-left: 5px;
      opacity: 0.8;
    }
    .button{
      width: 60px;
      height: 48px;
      position: absolute;
      right: 0px;
      border: 2px solid #FF734C;
      background-color: #FF734C;
      color: #fff;
    }
  }
  .contact{
    margin-top: 10px;
    font-size: 12px;
    span.hua{
      @include hua;
      width: 30px;
      height: 30px;
    }
    ol{
      padding: 0;
      margin: 0;
      background-color:#ffffff;
      li{
        &:last-child:before{
          content: "|";
          padding-right: 1.5rem;
          padding-left: 1.5rem;
        }
        a{
          @include as;
        }
        span.hua-phone{
          background-position: -380px -46px;
        }
        span.hua-rj{
          background-position: -294px -131px;
        }
      }
    }
  }
  } 
}
/*登录框*/
.top{
  .center{
    width: 100%;
    margin: auto;
    height: 474px;
    background-image: url(../public/img/login/login_bg.jpg);
    background-size: cover;
    background-position: 50% 0;
    background-repeat: no-repeat;
    position: relative;
    .box{
      width: 360px;
      height: 438px;
      position: absolute;
      top: 5%;
      right: 5%;
       background-color: rgba(255, 255, 255, 1);
       @mixin input {
        box-sizing: border-box;
        width: 262px;
        height: 34px;
        vertical-align: top;
        padding: 7px 6px;
        font-size: 12px;
        line-height: 20px;
        color: #232628;
        border: none;
        opacity: 0.6;
       }
       .login{
         .login-zy{
          position: relative;
           a{
            border: none;
            width: 180px;
            height: 51px;
            text-align: center;
            font-size: 18px;
            @include as;
            &:hover{color:#232628;}
            img{
              position: absolute;
              width: 44px;
              height: 44px;
              top: 0;
              right: 0;
            }
           }
           .active{
            color: #ff6a00 !important;
           }
         }
         .login-xx{
          width: 360px;
          height: 280px;
          padding: 20px 24px 0 24px;
          .zdy-btn{
            width: 100%;
            height: 36px;
            border-radius: 24px;
            font-size: 16px;
            background: #FF734C;
            color: #fff;
            padding: 0;
            a{
              @include as;
              &:hover{
                color: #fff
              }
            }
          }
          span.ico{
            @include ico;
          }
          .zdy-zh{
            .tphe{
              width: 100%;
              height: 36px;
              border: 1px solid #E9ECF0;
              border-radius: 2px;
              font-size: 0;
              input{
                @include input;
              }
              span.ico-h{
                background-position:-88px -24px ;
              }
            }
            .tpdx{
              width: 100%;
              height: 36px;
              border: 1px solid #E9ECF0;
              border-radius: 2px;
              font-size: 0;
              margin:30px 0 10px 0px;
              position: relative; 
              span.ico-dx{
                background-position: 0 -24px;
              }
              input{
                @include input;
              }
              .tpdx-s{
                position: absolute;
                top: 0;
                right: 0;
                width: 96px;
                line-height: 34px;
                height: 100%;
                font-size: 12px;
                text-align: center ;
                color: #232628;
                border: 0;
                background-color: #E9ECF0;
                a{
                  @include as;
                  &:hover{color: #232628 !important;}
                }
              }
            }
            .tpwd{
              width: 100%;
              height: 36px;
              border: 1px solid #E9ECF0;
              border-radius: 2px;
              font-size: 0;
              margin:30px 0 40px 0px;
              input{
                @include input;
              }
              span.ico-m{
                background-position:-44px -24px ;
              }
            }
          }
          .zdy-wx{
            .tpyx{
              width: 100%;
              height: 36px;
              border: 1px solid #E9ECF0;
              border-radius: 2px;
              font-size: 0;
              input{
                @include input;
              }
            }
            .tpmi{
              width: 100%;
              height: 36px;
              border: 1px solid #E9ECF0;
              border-radius: 2px;
              font-size: 0;
              margin-top: 30px;
              input{
                @include input;
              }
            }
            .zdy-btn{
              margin-top: 40px;
            }
            span.ico-yx{
              background-position: -132px -24px;
            }
            span.ico-mi{
              background-position: -44px -24px;
            }
          }
         }
       }
       ul{
        position:absolute;
        left: 0;
        bottom: 0;
        padding:0 24px;
        width: 100%;
        i.ico{
          display: inline-block;
          width: 20px;
          height: 20px;
          margin-top: 3px;
          background-image: url(../public/img/login/pc_icon.png);
          background-repeat: no-repeat;
          vertical-align: top
        }
        li{
          i.ico-qq{
            background-position: -30px -94px;
          }
          i.ico-zfb{
            background-position: -60px -94px;
          }
          i.ico-zc{
            background-position: 0 -66px;
          }
          &:first-child{
            margin-right: 10px;
          }
          a{
            @include as;
            &:hover{color: #71797f;}
            span{
              font-size: 12px;
              color: #71797f;
            }
          }
          &:last-child{
            a{
              color: #FF734C !important;
              font-size: 14px !important;
            }
          }
        }
       }
    }
  }
}

/*页尾*/
.foot{
  .center{
    font-size: 12px;
    padding: 30px 0 15px 0;
    text-align: center;
    div{
      &:first-child{
        .breadcrumb{
          padding: 0;
          margin: 0;
          background-color: #ffffff;
          padding-left: 50px;
          color: #737373;
          .breadcrumb-item::before {
            display: inline-block;
            padding-right: 2.6rem;
            padding-left:2.6rem;
            color: #d9d9d9;
            content: "|";
          }
          a{
            @include as;
            color: #737373 ;
          }
        }
      }
      &:nth-child(2){
        margin: 20px auto 25px;
        img{
          height: 50px;
          width: auto;
          margin: 0 5px;
          vertical-align: inherit;
        }
      }
      &:last-child{
        p{
          font-size: 12px;
          color: #71797F;
          line-height: 22px;
          margin: 0; 
        }
        a{
          @include as;
        }
      }
    }
  }
}
